#app {
  // 主体区域
  .main-container {
    min-height: 100%;
    transition: margin-left .28s;
    margin-left: 285px;
    position: relative;
    background: #f7f7f7;
  }
  // 侧边栏
  .sidebar-container {
    transition: width 0.28s;
    width: 285px;
    height: 100%;
    position: fixed;
    font-size: 0px;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    background-color: #2f59ab;
    //reset element-ui css
    .horizontal-collapse-transition {
      transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
    }
    .scrollbar-wrapper {
      height: calc(100% + 15px);
      .el-scrollbar__view {
        // height: 100%;
      }
    }
    .is-horizontal {
      display: none;
    }
    a {
      display: inline-block;
      width: 100%;
      overflow: hidden;
    }
    .svg-icon {
      margin-right: 16px;
    }
    .el-menu {
      border: none;
      height: auto;
      width: 100% !important;
    }
  }
  .hideSidebar {
    // .sidebar-container {
    //   width: 36px !important;
    // }
    // .main-container {
    //   margin-left: 36px;
    // }
    // .submenu-title-noDropdown {
    //   padding-left: 10px !important;
    //   position: relative;
    //   .el-tooltip {
    //     padding: 0 10px !important;
    //   }
    // }
    // .el-submenu {
    //   overflow: hidden;
    //   &>.el-submenu__title {
    //     padding-left: 10px !important;
    //     .el-submenu__icon-arrow {
    //       display: none;
    //     }
    //   }
    // }
    // .el-menu--collapse {
    //   .el-submenu {
    //     &>.el-submenu__title {
    //       &>span {
    //         height: 0;
    //         width: 0;
    //         overflow: hidden;
    //         visibility: hidden;
    //         display: inline-block;
    //       }
    //     }
    //   }
    // }
  }
  .sidebar-container .nest-menu .el-submenu>.el-submenu__title,
  .sidebar-container .el-submenu .el-menu-item {
    min-width: 180px !important;
    background-color: #f7f7f7 !important;
    &:hover {
      background-color: #f7f7f7 !important;
    }
  }
  .el-menu--collapse .el-menu .el-submenu {
    min-width: 180px !important;
  }
  .el-menu-item{ font-size: 18px; height: 76px; line-height: 76px;background-color: #2f59ab !important;color: #cbdef7 !important;}
  .submenu-title-noDropdown:hover,.el-menu-item:hover{background-color: #3163c1 !important;color: #cbdef7 !important;}
  .submenu-title-noDropdown.is-active{  background-color: #3163c1 !important;}
  .el-submenu.is-active{ border-left: 3px solid #4573d3;}
  .el-submenu.is-active .el-submenu__title{ background: #f7f7f7 !important; color: #2e5fc7 !important;}
  .el-submenu.is-active .el-submenu__title i{ color: #2e5fc7 !important;}
  .el-submenu__title:hover{ background: none !important; color: #2e5fc7 !important;}
  .el-submenu__title:hover i{ color: #2e5fc7 !important;}
  .sidebar-container .el-submenu .el-menu-item .svg-icon{ margin-right: 3px; vertical-align: -0.25em;}

  //适配移动端
  .mobile {
    .main-container {
      margin-left: 0px;
    }
    .sidebar-container {
      transition: transform .28s;
      width: 180px !important;
    }
    // &.hideSidebar {
    //   .sidebar-container {
    //     transition-duration: 0.3s;
    //     transform: translate3d(-180px, 0, 0);
    //   }
    // }
  }
  .withoutAnimation {
    .main-container,
    .sidebar-container {
      transition: none;
    }
  }
}
// @media screen and (max-width: 1600px){
//   #app .sidebar-container{width: 200px !important;}
//   #app .main-container{margin-left: 200px}
//   #app .el-menu-item{ font-size: 14px; height: 56px; line-height: 56px;}
// }
// @media screen and (max-width: 1200px){
//   #app .sidebar-container{width: 180px !important;}
//   #app .main-container{margin-left: 180px}
// }
// @media screen and (max-width: 960px){
//   #app .sidebar-container{width: 170px !important;}
//   #app .main-container{margin-left: 170px}
// }

#app .el-menu-item{
  font-size: 14px;
  height: auto;
  line-height: 48px;
  .rt{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
  }
}